import { ClockManager } from "../../manager/ClockManager";
import { ENpcEffect } from "../../../../Message/Public/ENpcEffect";
type int = number;
//class CrossBeachData
    
    export  class CrossBeachData
    {
        

        public static getSunBathRestime(arg1: int): number
        {
            var loc2=null;
            var loc3=NaN;
            var loc1=ClockManager.instance.nowDate;
            if (arg1 != ENpcEffect._ENpcEffectSunBathMakeUp) 
            {
                if (arg1 == ENpcEffect._ENpcEffectYourLover) 
                {
                    loc2 = CrossBeachData.sunBathPassCdEndDate;
                }
            }
            else 
            {
                loc2 = CrossBeachData.sunBathMakeUpCdEndDate;
            }
            if (loc2 && loc2.time > loc1.time) 
            {
                loc3 = (loc2.time - loc1.time) / 1000;
            }
            return loc3;
        }

        public static /* var */sunBathPassCdEndDate: Date;

        public static /* var */sunBathMakeUpCdEndDate: Date;
    }
